
package com.spss.scoring.schema.v2.jaxb;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for runningState.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="runningState">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
 *     &lt;enumeration value="ACTIVE"/>
 *     &lt;enumeration value="SUSPENDED"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "runningState")
@XmlEnum
public enum RunningState {


    /**
     * This indicates that the configuration is consuming resources and can potentially process score requests assuming the configuration is not in an error state
     * 
     */
    ACTIVE,

    /**
     * This indicates that the configuration is NOT consuming resources and CANNOT process score requests
     * 
     */
    SUSPENDED;

    public String value() {
        return name();
    }

    public static RunningState fromValue(String v) {
        return valueOf(v);
    }

}
